Optimal. Leaf size=87 \[ -\frac {x \sqrt {1-a^2 x^2}}{6 a^3}+\frac {5 \text {ArcSin}(a x)}{6 a^4}-\frac {2 \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{3 a^4}-\frac {x^2 \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{3 a^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 87, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {6163, 327, 222,
6141} \begin {gather*} \frac {5 \text {ArcSin}(a x)}{6 a^4}-\frac {x^2 \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{3 a^2}-\frac {2 \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{3 a^4}-\frac {x \sqrt {1-a^2 x^2}}{6 a^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 222
Rule 327
Rule 6141
Rule 6163
Rubi steps
\begin {align*} \int \frac {x^3 \tanh ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx &=-\frac {x^2 \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{3 a^2}+\frac {2 \int \frac {x \tanh ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx}{3 a^2}+\frac {\int \frac {x^2}{\sqrt {1-a^2 x^2}} \, dx}{3 a}\\ &=-\frac {x \sqrt {1-a^2 x^2}}{6 a^3}-\frac {2 \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{3 a^4}-\frac {x^2 \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{3 a^2}+\frac {\int \frac {1}{\sqrt {1-a^2 x^2}} \, dx}{6 a^3}+\frac {2 \int \frac {1}{\sqrt {1-a^2 x^2}} \, dx}{3 a^3}\\ &=-\frac {x \sqrt {1-a^2 x^2}}{6 a^3}+\frac {5 \sin ^{-1}(a x)}{6 a^4}-\frac {2 \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{3 a^4}-\frac {x^2 \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}{3 a^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 60, normalized size = 0.69 \begin {gather*} -\frac {a x \sqrt {1-a^2 x^2}-5 \text {ArcSin}(a x)+2 \sqrt {1-a^2 x^2} \left (2+a^2 x^2\right ) \tanh ^{-1}(a x)}{6 a^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 1.56, size = 99, normalized size = 1.14
method | result | size |
default | \(-\frac {\sqrt {-\left (a x -1\right ) \left (a x +1\right )}\, \left (2 a^{2} x^{2} \arctanh \left (a x \right )+a x +4 \arctanh \left (a x \right )\right )}{6 a^{4}}+\frac {5 i \ln \left (\frac {a x +1}{\sqrt {-a^{2} x^{2}+1}}+i\right )}{6 a^{4}}-\frac {5 i \ln \left (\frac {a x +1}{\sqrt {-a^{2} x^{2}+1}}-i\right )}{6 a^{4}}\) | \(99\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.47, size = 88, normalized size = 1.01 \begin {gather*} -\frac {1}{6} \, a {\left (\frac {\frac {\sqrt {-a^{2} x^{2} + 1} x}{a^{2}} - \frac {\arcsin \left (a x\right )}{a^{3}}}{a^{2}} - \frac {4 \, \arcsin \left (a x\right )}{a^{5}}\right )} - \frac {1}{3} \, {\left (\frac {\sqrt {-a^{2} x^{2} + 1} x^{2}}{a^{2}} + \frac {2 \, \sqrt {-a^{2} x^{2} + 1}}{a^{4}}\right )} \operatorname {artanh}\left (a x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 72, normalized size = 0.83 \begin {gather*} -\frac {\sqrt {-a^{2} x^{2} + 1} {\left (a x + {\left (a^{2} x^{2} + 2\right )} \log \left (-\frac {a x + 1}{a x - 1}\right )\right )} + 10 \, \arctan \left (\frac {\sqrt {-a^{2} x^{2} + 1} - 1}{a x}\right )}{6 \, a^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{3} \operatorname {atanh}{\left (a x \right )}}{\sqrt {- \left (a x - 1\right ) \left (a x + 1\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^3\,\mathrm {atanh}\left (a\,x\right )}{\sqrt {1-a^2\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________